package com.cskaoyan;

/**
 * @author stone
 * @date 2022/12/26 10:47
 */
public abstract class Animal {

    public void everyDayDoSomething() {
        this.sleep();
        System.out.println("睡醒了之后");
        this.eat();
    }

    public abstract void sleep();
    public abstract void eat();
}
